package homework;

public class Main {
    public static void showPhone(Phones phones) {
        phones.call();
    }
    public static void main(String[] args) {
        showPhone(new IPhone());
        showPhone(new APhone());
        showPhone(new WPhone());


    }
}
